<?php

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of BSAttribute
 *
 * @author jianfeng
 */
class BSAttribute extends BSEntity{
    //put your code here
    public $owner_id = 0;
    public $owner_class = null;
    
    public function getPropertyToColumnMapList($data = NULL) {
        $list = parent::getPropertyToColumnMapList($data);
        
        $list['owner_id'] = 'resource_id';
        $list['owner_type'] = 'resource_type';
        
        return $list; 
    }
}
